package exception01;

import java.io.IOException;
import java.util.zip.DataFormatException;

class Father{
    public void method01()throws Exception {}
    public void method02()throws Exception {}
    public void method03()throws Exception {}

    public void method04()throws DataFormatException, IOException {}
    public void method05()throws DataFormatException,IOException{}
    public void method06()throws DataFormatException,IOException{}
    public void method07(){}
}
class Son extends Father {
    @Override
    public void method01() {}
    @Override
    public void method02() throws Exception {}
    @Override
    public void method03() throws IOException {}
    @Override
    public void method04() throws DataFormatException, IOException {}
    @Override
    public void method05() throws IOException {}
    @Override
    public void method06() {}
     //@Override
    //public void method07()throws Exception{}
}